
class Card():
    """牌"""

    def __init__(self, suite, face):
        self.suite = suite
        self.face = face

    def __str__(self):

        suites = ['黑', '红', '梅', '方']
        face = [
           '', 'A', '2', '3', '4', '5', '6',
           '7', '8', '9', '10', 'J', 'Q', 'K'
        ]
        return f'{suites[self.suit.value]}{faces[self.face]}'
    
     def __repr__(self):
        return self.__str__()

     def __lt__(self, other)
        if self.suite != other.site
           return self.suite.value < other.suite.value
        else:
           return self.face < other.face

     def main():
        card1 = Card(Suite.HEART, 13)
        card2 = Card(Suite.CLUB, 9)
        print(card1, card2)
        print('aaskdjfkjsldfjldsfj')

      if __name__ == '__main__'
         main()
